﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IRCTest
{


    public class MessageSendEvent : EventArgs
    {
        private String message;
        private String receipient;
        private String command;

        public String Message { get { return this.message; } }
        public String Receipient { get { return this.receipient; } }
        public String Command { get { if (this.command != null) return this.command; return ""; } }

        public MessageSendEvent(String Message, String Receipient)
        {
            this.message = Message;
            this.receipient = Receipient;
        }

        public MessageSendEvent(String Message, String Receipient,String Command)
        {
            
            this.message = Message;
            this.receipient = Receipient;
            this.command = Command;
        }
    }
    public class JoinedChannel : EventArgs
    {
        private String channel;
        public String Channel;

        public JoinedChannel(String Channel)
        {
            this.channel = Channel;
        }
    }
    //public class UserInvited : EventArgs
    //{
    //    private String user;
    //    private String channel;

    //    public String User { get { return this.user; } }
    //    public String Channel { get { return this.channel; } }

    //    public UserInvited(String User,String Channel)
    //    {
    //        this.user = User;
    //        this.channel = Channel;
    //    }
    //}
}
